package com.lnking.lnkingplace.model.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.lnking.starter.mybatis.entity.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.time.LocalDate;
import java.time.LocalDateTime;

/**
 * <p>
 * 
 * </p>
 *
 * @author sn
 * @since 2022-08-20
 */
@Data
@EqualsAndHashCode(callSuper = true)
@ApiModel(value="Inspect对象", description="")
public class Inspect extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = " 方案名称")
    private String name;

    @ApiModelProperty(value = "检查日期")
  @JsonFormat(locale = "zh", timezone = "GMT+8", pattern = "yyyy-MM-dd")
    private LocalDate inspectTime;

    @ApiModelProperty(value = "创建日期")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "创建人id")
    private String createId;

    @ApiModelProperty(value = "创建人")
    private String createName;

    @ApiModelProperty(value = "参与组（;隔开）")
    private String groupNames;

    @ApiModelProperty(value = "目标场所（;隔开）")
    private String placeIds;

    @ApiModelProperty(value = "类型")
    private String type;

    @ApiModelProperty(value = "图片")
    private String photos;

    private String delFlag;
}
